package com.yulongtian.createMode.Simple_Factory_Pattern.before;

/**
 * @author YulongTian
 * @date 2022/7/9 - 16:13
 */
public class Clients {
    public static void main(String args[]) {
        Chart chart;
        chart = ChartFactory.getChart("histogram"); //通过静态工厂方法创建产品
        chart.display();
    }
}
